package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 系统积分规则对象 points_rule_system
 *
 * @author ruoyi
 * @date 2024-04-22
 */
public class PointsRuleSystem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id主键 */
    private Long id;

    /** 序号 */
    private Integer oederNum;

    /** 积分规则id */
    @Excel(name = "积分规则id")
    private Long pointsRuleId;

    /** 积分类别 */
    @Excel(name = "积分类别")
    private String pointsType;

    /** 积分项目 */
    @Excel(name = "积分项目")
    private String pointsProject;

    /** 积分标准 */
    @Excel(name = "积分标准")
    private String pointsStandard;

    /** 规则类型 0:参加会议 1:累计会议时长 2:参加活动类型 3:参加活动时长 4:累计活动时长 5:提交总结类型 */
    @Excel(name = "规则类型 0:参加会议 1:累计会议时长 2:参加活动类型 3:参加活动时长 4:累计活动时长 5:提交总结类型")
    private String ruleType;

    /** 条件1 */
    @Excel(name = "条件1")
    private String firstCondition;

    /** 条件判断 0:大于 1:小于 */
    @Excel(name = "条件判断 0:大于 1:小于")
    private String conditionJudge;

    /** 条件2 */
    @Excel(name = "条件2")
    private String secondCondition;

    /** 循环模式 0:周 1:月 2:季 3:半年 4:年 */
    @Excel(name = "循环模式 0:周 1:月 2:季 3:半年 4:年")
    private String cyclicalPattern;

    /** 加分/扣分 0:加分 1:扣分  */
    @Excel(name = "加分/扣分 0:加分 1:扣分 ")
    private String modified;

    /** 分值 */
    @Excel(name = "分值")
    private String pointsScore;

    /** 删除标志（0删除 1存在） */
    private String delFlag;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setPointsRuleId(Long pointsRuleId)
    {
        this.pointsRuleId = pointsRuleId;
    }

    public Long getPointsRuleId()
    {
        return pointsRuleId;
    }
    public void setPointsType(String pointsType)
    {
        this.pointsType = pointsType;
    }

    public String getPointsType()
    {
        return pointsType;
    }
    public void setPointsProject(String pointsProject)
    {
        this.pointsProject = pointsProject;
    }

    public String getPointsProject()
    {
        return pointsProject;
    }
    public void setPointsStandard(String pointsStandard)
    {
        this.pointsStandard = pointsStandard;
    }

    public String getPointsStandard()
    {
        return pointsStandard;
    }
    public void setRuleType(String ruleType)
    {
        this.ruleType = ruleType;
    }

    public String getRuleType()
    {
        return ruleType;
    }
    public void setFirstCondition(String firstCondition)
    {
        this.firstCondition = firstCondition;
    }

    public String getFirstCondition()
    {
        return firstCondition;
    }
    public void setConditionJudge(String conditionJudge)
    {
        this.conditionJudge = conditionJudge;
    }

    public String getConditionJudge()
    {
        return conditionJudge;
    }
    public void setSecondCondition(String secondCondition)
    {
        this.secondCondition = secondCondition;
    }

    public String getSecondCondition()
    {
        return secondCondition;
    }
    public void setCyclicalPattern(String cyclicalPattern)
    {
        this.cyclicalPattern = cyclicalPattern;
    }

    public String getCyclicalPattern()
    {
        return cyclicalPattern;
    }
    public void setModified(String modified)
    {
        this.modified = modified;
    }

    public String getModified()
    {
        return modified;
    }
    public void setPointsScore(String pointsScore)
    {
        this.pointsScore = pointsScore;
    }

    public String getPointsScore()
    {
        return pointsScore;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    public Integer getOederNum() {
        return oederNum;
    }

    public void setOederNum(Integer oederNum) {
        this.oederNum = oederNum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("pointsRuleId", getPointsRuleId())
            .append("pointsType", getPointsType())
            .append("pointsProject", getPointsProject())
            .append("pointsStandard", getPointsStandard())
            .append("ruleType", getRuleType())
            .append("firstCondition", getFirstCondition())
            .append("conditionJudge", getConditionJudge())
            .append("secondCondition", getSecondCondition())
            .append("cyclicalPattern", getCyclicalPattern())
            .append("modified", getModified())
            .append("pointsScore", getPointsScore())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
